import axios from 'axios';
import {apiPath} from "./apiPath";

const baseUrl = apiPath.blogSetting;

export interface UserCardData {
    githubHome?: string;
    csdnHome?: string;
    giteeHome?: string;
    zhihuHome?: string;
    avatar: string;
    author: string;
    introduction: string;
}

export const getBlogSettingDetail = async () => {
    const res = await axios.post(baseUrl);
    return res.data.data;
};
